﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Plane p = new Plane("民用飞机");
            p.Air();
            p.Fly();
            p.Land();
            p.TakeOff();
            p.CarryPassenge();
            Console.WriteLine("----------------");
            Bird b = new Bird("小小鸟");
            b.Eat();
            b.Fly();
            b.Land();
            b.LayEggs();
            b.TakeOff();
            Console.WriteLine("----------------");
            Superman s = new Superman("超人super");
            s.Eat();
            s.Fly();
            s.IFly();
            s.Land();
            s.TakeOff();
        }
    }
}
